package com.kgc.collection.remote;

import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface WriteOffRemote {

    @RequestMapping("/selectWriteOffType")
    @ResponseBody
    ResponseMsg selectWriteOffType();

    @RequestMapping("/selectWriteOffByPage")
    @ResponseBody
    ResponseMsg selectWriteOffByPage(@RequestBody Map<String, Object> map);

    @RequestMapping("/insertWriteOff")
    @ResponseBody
    ResponseMsg insertWriteOff(@RequestBody Map<String, Object> map);

    @RequestMapping("/updateWriteOff")
    @ResponseBody
    ResponseMsg updateWriteOff(@RequestBody Map<String, Object> map);

    @RequestMapping("/deleteWriteOff")
    @ResponseBody
    ResponseMsg deleteWriteOff(@RequestBody Map<String, Object> map);

    @RequestMapping("/checkWriteOff")
    @ResponseBody
    ResponseMsg checkWriteOff(@RequestBody Map<String, Object> map);

    @RequestMapping("/selectWriteOffByCode")
    @ResponseBody
    ResponseMsg selectWriteOffByCode(@RequestBody Map<String, Object> map);





}
